#ifndef SyncMessage_h
#define SyncMessage_h
#include "Message.h"
#include <map>
#include <stack>

using std::map;
using std::stack;


class SyncMessage :
	public Message
{
public:
	SyncMessage(int source, int destination, int num_of_nodes, int creator);
	~SyncMessage(void);
	virtual void run(Node* n);
	virtual void print();
	void setDestination(int source, int dest);
	
	map<int,int>* m_flags;
	int m_creator;
	int m_num_of_nodes;
	stack<int>* m_course;

private:

	
};
#endif

